package cn.bdqn.smbms.service;

import cn.bdqn.smbms.entity.Bill;
import cn.bdqn.smbms.util.PageBean;
import org.apache.ibatis.annotations.Param;

public interface BillService {

    //分页查询
    PageBean<Bill> findByPage(String queryProductName, Integer queryProviderId, Integer isPayment, Integer pageNo, int pageSize);

    //添加
    int addBill(Bill bill);

    //根据id查询
    Bill findById(Integer id);


    //修改用户
    int updateBill(Bill bill);

    //删除
    int delBill(Integer id);

    //判断订单编号是否存在
    boolean checkBillCode(String billCode);
}
